package com.yyl.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yyl.entity.TabStudent;
import com.yyl.mapper.TabStudentMapper;
import com.yyl.service.ITabStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 于永利
 * @since 2024-07-20
 */
@Service
public class TabStudentServiceImpl extends ServiceImpl<TabStudentMapper, TabStudent> implements ITabStudentService {

    @Autowired
    private TabStudentMapper tabStudentMapper;
    @Override
    public List<TabStudent> findAll() {
        return tabStudentMapper.findAll();
    }

    @Override
    public Page findAll1(IPage page) {
        return tabStudentMapper.findAll1(page);
    }
}
